package com.zwb.wallet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author 头发又黑又长
 * @Date 2023/2/28 20:36
 * @email zwb15083976291@163.com
 */
@Data
@EqualsAndHashCode
@TableName("t_wallet")
public class Wallet {

    /*id*/
    @TableId(type = IdType.NONE )
    private Integer id;
    /* 用户id */
    private Integer userId;
    /* 余额 */
    private BigDecimal amountMoney;

}
